<form id="pagerForm" method="post" action="__URL__/priceentry">
	<input type="hidden" name="pageNum" value="{$currentPage}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="id" value="{$id}"/> 
 	<!-- <input type="hidden" name="orderField" value="${param.orderField}" /> -->
</form>
<script type="text/javascript">
function reload30() {
    navTab.reload("__URL__/priceentry", {});
}
function fredbltable(target,rel){
    if( target == 'sid_priceentry'){
    $.pdialog.open("__URL__/editpriceentry/id/"+rel+"/sid_priceentry="+rel,"pdialogid", "修改运费", { max:false, mask:true, width: 600, height: 400});
    } 
  }
</script>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
            <li><a class="add" href="__URL__/priceentryadd/id/{$id}"  target="dialog" mask="true" width="500" height="150"><span>新增价格区间</span></a></li>
			<li><a class="edit" href="__URL__/editpriceentry/id/{sid_priceentry}" target="dialog" mask="true" warn="请选择节点" width="500" height="150"><span>修改</span></a></li>
		    <li><a class="delete" href="__URL__/priceentrydelete/navTabId/priceentry" target="selectedTodo" rel="ids" postType="string" title="你确定要删除吗？" warn="请选择记录！"><span>删除</span></a></li>
		    <li class="line">line</li>
			<li><a class="icon" href="#" onclick="reload30()"><span>刷新</span></a></li>
		</ul>
	</div>

	<table class="table" width="50%" layoutH="75">
		<thead>
		<tr>
		    <th width="20" align="center"><input type="checkbox" group="ids" class="checkboxCtrl"></th>	
			<th width="100" align="center">始</th>
			<th width="100" align="center">至</th>
			<th width="100" align="center">价格(元)</th>
		
		</tr>
		</thead>
		<tbody>
		<define name="number" value="1"/>
		<volist id="vo" name="list">
			<tr target="sid_priceentry" rel="{$vo['id']}" ondblclick="fredbltable('sid_priceentry',{$vo.id})">
			    <td><input type="checkbox" name="ids" value="{$vo['id']}" /></td>
				<td>{$vo['start']}</td>
				<td>{$vo['end']}</td>
				<td>{$vo['price']}</td>
			</tr>
		</volist>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>每页</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<eq name="numPerPage" value="24"><option value="24" selected>24</option><else/><option value="24">24</option></eq>
				<eq name="numPerPage" value="50"><option value="50" selected>50</option><else/><option value="50">50</option></eq>
				<eq name="numPerPage" value="100"><option value="100" selected>100</option><else/><option value="100">100</option></eq>
				<eq name="numPerPage" value="200"><option value="200" selected>200</option><else/><option value="200">200</option></eq>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}">
		</div>
	</div>
</div>

